function getTime(){
    let data = new Date();
    let year = data.getFullYear();
    let month = data.getMonth() + 1;
    let day = data.getDate();
    let hour = data.getHours();
    let minute = data.getMinutes();
    let second = data.getSeconds();
    return year+'-'+month+'-'+day+' '+hour+':'+minute+':'+second;
}
export default getTime;